package com.sooth.micro.page.mapper;

import com.dream.system.annotation.Mapper;
import com.dream.system.annotation.Param;
import com.dream.system.annotation.Sql;

@Mapper
public interface MicroPageMapper {
    @Sql("delete from micro_page where app_id=:appId")
    Integer deleteByAppId(@Param("appId") Long appId);

    @Sql("select app_id from micro_page where id=:id")
    Long getAppId(@Param("id") Long id);
}
